namespace MyBlog.DataEntity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;

    public partial class Tbl_Album
    {
        public Tbl_Album()
        {
            Tbl_AlbumDetail = new HashSet<Tbl_AlbumDetail>();
        }

        public int ID { get; set; }

        [Required]
        [StringLength(50)]
        public string AccountId { get; set; }

        [Required]
        [StringLength(50)]
        public string AlbumName { get; set; }

        [StringLength(200)]
        public string Description { get; set; }

        public bool IsOpen { get; set; }

        public DateTime CreateTime { get; set; }

        public virtual Tbl_Account Tbl_Account { get; set; }

        public virtual ICollection<Tbl_AlbumDetail> Tbl_AlbumDetail { get; set; }
    }
}
